﻿html {
    height: 100%;
}

body {
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    background: url(images/bg.jpg);
}

img {
    border: 0px;
    display: block;
}

form {
    padding: 0px;
    margin: 0px;
}

.main-box {
    position:relative;
    width: 88%;
    height: 80%;
    margin: 0px auto;
    top: 10%;
    background: url(images/1.jpg);
    background-size: cover;
    border-radius: 5px;
}

.form-box {
    width:245px;
    background:#ffffff; 
    border:1px solid #dddddd; 
    border-radius:5px;
    padding:15px;
    position:absolute;
    right:14%;
    top:50%;
    margin:-116px 0px 0px -138px;
}

h2 { 
    font-weight: normal; 
    padding:0px 0px 10px 0px; 
    margin:0px 0px 20px 0px; 
    border-bottom: 1px solid #dddddd;
    color: #255595;
    height: 26px;
    line-height: 26px;
    font-size: 20px;
    display: block;
    text-align: left;
    font-family:'微软雅黑';
}

.login-item {
    border-radius:3px; 
    margin-bottom: 20px;
    padding: 0px 7px;
    border: 1px solid #dddddd;
}

#txt-username, #txt-password {
    background: #ffffff;
    width: 200px;
    height: 32px;
    *height: 30px;
    line-height: 32px;
    *line-height: 30px;
    border: 0px;
    margin: 0px;
    padding: 0px;
    outline:none;
}

.username {
    background: url(images/login_icon_name.jpg) no-repeat 215px center #ffffff;
}

.password {
    background: url(images/login_icon_pwd.jpg) no-repeat 215px center #ffffff;
}

.login-button { 
    text-align:center;
    line-height:34px;
    height:34px; 
    font-weight:bold;
    background:url(images/login_btnbg.jpg) repeat-x; 
    border-radius:3px; 
    font-family:'微软雅黑';
    cursor:pointer;
    overflow: hidden;
    color:#ffffff; font-size:16px;
}